//using PKGames.Store.Analytics;
//using UnityEngine;

//namespace PK.InAppPurchase
//{
//	public static class StoreEvents
//	{
//		public static void LogCreativeOpen(StoreProduct storeProduct, string trigger, string creativeId, string levelName)
//		{
//			IapPurchaseEvent iapPurchaseEvent = new IapPurchaseEvent(storeProduct, trigger, IapPurchaseEvent.PurchaseFunnel.Creative, creativeId, levelName);
//			iapPurchaseEvent.Finish();
//			iapPurchaseEvent.Log();
//		}

//		public static void LogStoreOpen(StoreProduct storeProduct, string trigger, string creativeId, string levelName)
//		{
//			IapPurchaseEvent iapPurchaseEvent = new IapPurchaseEvent(storeProduct, trigger, IapPurchaseEvent.PurchaseFunnel.Store, creativeId, levelName);
//			iapPurchaseEvent.Finish();
//			iapPurchaseEvent.Log();
//		}

//		public static void LogPurchaseSuccess(StoreProduct storeProduct, string trigger, string creativeId, string levelName)
//		{
//			IapPurchaseEvent iapPurchaseEvent = new IapPurchaseEvent(storeProduct, trigger, IapPurchaseEvent.PurchaseFunnel.Purchased, creativeId, levelName);
//			iapPurchaseEvent.Finish();
//			iapPurchaseEvent.Log();
//		}

//		public static void LogRestore(bool success)
//		{
//			UnityEngine.Debug.Log("Restore success: " + success);
//		}
//	}
//}
